package com.project.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 客户实体类
 */
@TableName("t_client")
public class ClientBean {
    /**客户编号*/
    @TableId(value = "pk_clientId",type = IdType.AUTO)
    private Integer clientId;
    /**客户名称*/
    @TableField("c_clientName")
    private String  clientName;
    /**负责人*/
    @TableField("c_principalName")
    private String principalName;
    /**负责人电话*/
    @TableField("c_phone")
    private String phone;
    /**客户办公地址*/
    @TableField("c_address")
    private String address;
    /**邮箱*/
    @TableField("c_mailbox")
    private String mailbox;
    /**经营范围*/
    @TableField("c_manageRange")
    private String manageRange;

    public ClientBean() {
    }

    public ClientBean(String clientName, String principalName, String phone, String address, String mailbox, String manageRange) {
        this.clientName = clientName;
        this.principalName = principalName;
        this.phone = phone;
        this.address = address;
        this.mailbox = mailbox;
        this.manageRange = manageRange;
    }

    public Integer getClientId() {
        return clientId;
    }

    public void setClientId(Integer clientId) {
        this.clientId = clientId;
    }

    public String getClientName() {
        return clientName;
    }

    public void setClientName(String clientName) {
        this.clientName = clientName;
    }

    public String getPrincipalName() {
        return principalName;
    }

    public void setPrincipalName(String principalName) {
        this.principalName = principalName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getMailbox() {
        return mailbox;
    }

    public void setMailbox(String mailbox) {
        this.mailbox = mailbox;
    }

    public String getManageRange() {
        return manageRange;
    }

    public void setManageRange(String manageRange) {
        this.manageRange = manageRange;
    }

    @Override
    public String toString() {
        return "ClientBean{" +
                "clientId=" + clientId +
                ", clientName='" + clientName + '\'' +
                ", principalName='" + principalName + '\'' +
                ", phone='" + phone + '\'' +
                ", address='" + address + '\'' +
                ", mailbox='" + mailbox + '\'' +
                ", manageRange='" + manageRange + '\'' +
                "}\n";
    }
}
